package com.ht.medicaltreatment.view

import android.content.Context
import com.blankj.utilcode.util.LogUtils
import com.ht.medicaltreatment.R
import kotlinx.android.synthetic.main.dialog_scan_error_layout.*

class ScanErrorDialog(context: Context) : BaseDialog(context,350f) {
    override fun getLayoutRes() = R.layout.dialog_scan_error_layout

    fun show(right:String,scan:String) {
        super.show()
        tvRight.text = "我们需要的是：$right"
        tvScan.text = "实际扫描的是：$scan"

        btn.setOnClickListener {
            dismiss()
        }
    }
}